import pytest,os
from log.log_collect import log_caiji
from mail import send

if __name__ == '__main__':
    log_caiji()
    pytest.main(["-s","./test_02.py","--alluredir=./baogaoData","--clean-alluredir"])
    os.system("allure generate ./baogaoData -o ./htmlbaogao clean")
    send(["aa.txt","./htmlbaogao/index.html"])